<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
	</body>
	<script type="text/javascript">
		alert("我\r\n框架")
		
		var msg = "hello";
		
		function show () {			
			alert(this.msg)
		}
		
		var m1 = {
			msg:"m1 message"
		}
		var m2 = {
			msg:"m2 message"
		}
		
		show()
		show.call(m1);//call(obj,value1,value2,vlaue3....)
		show.apply(m2);//apply(obj,[value1,[value2,[value3...]]])
		
//		es5  bind()  绑定
		
		
	</script>
</html>
